CREATE TABLE [dbo].[Tb_RelNivelesSP]
(
[IdNivel] [int] NOT NULL,
[IdSubproyecto] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[Tb_RelNivelesSP] WITH NOCHECK ADD CONSTRAINT [FK_Tb_RelNivelesSP_tb_NivelesEnsenanza] FOREIGN KEY ([IdNivel]) REFERENCES [dbo].[tb_NivelesEnsenanza] ([idNivelEnsenanza])
GO
ALTER TABLE [dbo].[Tb_RelNivelesSP] WITH NOCHECK ADD CONSTRAINT [FK_Tb_RelNivelesSP_tb_SubProyectos] FOREIGN KEY ([IdSubproyecto]) REFERENCES [dbo].[tb_SubProyectos] ([IdSubProyecto])
GO
